﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace ZhiAo.CoreLibrary.Extend
{
    public static  class  XmlNodeExtend
    {
        public static string ToStringIgnoreNull(this XmlNode key)
        {
            if (key == null) return "";
            if (string.IsNullOrEmpty(key.InnerText)) return "";
            return key.InnerText;
        }
    }
}
